﻿namespace LogManager.Core.Models
{
    using System;
    using System.Collections.ObjectModel;
    using System.ComponentModel;

    public interface IServer : INotifyPropertyChanged
    {
        string Ip { get; set; }
        ObservableCollection<ILocation> Locations { get; }
        string Name { get; set; }
        IPlateform ParentPlateform { get; }
        int RetentionHours { get; set; }
        TimeSpan RetentionDuration { get; }
        void DeleteServer();
        ILocation AddNewLocation();
    }
}
